package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.saas.domain.entity.DingBundleLogEntity;
import com.xbongbong.saas.domain.entity.DingBundleUserEntity;

import java.util.List;

/**
 * @author chenshan
 * @version v1.0
 * @since 2019-08-16 10:49
 */
public interface DingBundleLogModel extends IModel<DingBundleLogEntity> {

	public void insertBatch(List<DingBundleLogEntity> dingBundleLogList);

	public Integer save(DingBundleLogEntity entity);
	
	public Integer insert(String corpid, String userId, String platform);

	public DingBundleUserEntity getEntity(Long id, String corpid);

	public Integer deleteByIds(List<Long> ids, String corpid);
	
	public DingBundleLogEntity getEntityByUserId(String userId, String corpid);
	
}